import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
    //自定义指令
Vue.directive('focus', {
    //inserted 当带有该指令的元素渲染到页面中时触发
    inserted(el) {
        el.focus()
    }
})
new Vue({
    render: h => h(App),
}).$mount('#app')